# 遍历  list  str  tuple  dict
cart = ["巧克力派", "鱿鱼丝", "碎冰冰", "Python从入门到入坟"]
for item in cart:
    print("扫码:" + item)
tuple01 = ("zhangsan", 100, True)
for item in tuple01:
    print("tuple:", item)
str01 = "hello world"
for ch in str01:
    print("str:", ch)
dict01 = {"Chinese": 100, "Math": 80, "PE": 90}
for key in dict01:
    print("key:", key, "value:", dict01[key])
